home *** CD-ROM | disk | FTP | other *** search
- .-------------------------------------------------------------------------.
- | This demo shows you how to use the bottom status bar. You can use the |
- | status bar for displaying things such as your score, inventory & health |
- `-------------------------------------------------------------------------'
-
- NOBUSY:
- DEC:knife=0
- WINDOW:The knife demo
-
- .-------------------------------------------------------------------------.
- | Start of the adventure... |
- `-------------------------------------------------------------------------'
-
- PAGE:START
- CLR:
- On the table you can see a knife.
-
- PAGE:BackToStart
- CLRTEXT:
- ADDTEXT:Items:
- ADDTEXTIF:knife=1:Knife
- ADDOPTIF:knife=0:Pick up the knife:Pick_It
- ADDOPTIF:knife=1:Drop the knife:Drop_It
-
- ENDPAGE:
-
- .-------------------------------------------------------------------------.
- | Let us pick up that knife |
- `-------------------------------------------------------------------------'
-
- PAGE:Pick_It
- You pick up the knife.
-
- LET:knife=1
- GOTO:BackToStart
- ENDPAGE:
-
- .-------------------------------------------------------------------------.
- | Let's drop the knife |
- `-------------------------------------------------------------------------'
-
- PAGE:Drop_It
- LET:knife=0
- You drop the knife.
-
- GOTO:BackToStart
- ENDPAGE:
-